html {
    height: 100%;
}
body {
    background-color: #fff8e0;
    touch-action: manipulation;
    margin: 0;
    min-height: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/*Text elements. Actually using h1 n stuff now!*/
p {
    font-family: monospace;
    font-size: 1rem;
    line-height: 100%;
    letter-spacing: 2px;
    text-align: center;
    color: black;
}
h1 {
    font-family: monospace;
    font-size: 20px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 2px;
    text-align: center;
}
button{color: black;}

/*gameSpace grid for UI display elements*/
#gamePage{
    width: 80vw;
    height: 90vh;

    display: grid;
    position: relative;

    grid-template-areas: "header outputBar"
        "gameSpace outputBar"
        "footer outputBar";
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 9fr 1fr;

    border: 1px solid black;
}
/*#gamePage > *{
    border: 1px dotted red;
}*/

/*Header*/
#gamePage__header{
    grid-area: header;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: center;

    padding-top: 2%;
}
/*These are for stacking the button and p on top of each other.*/
.navDiv{
    width: 10%;
    display: flex;

    flex-direction: column;
    justify-content: center;
    align-content: center;
}
.windowNavButtons{
    background-color: #fff8e0;
    border: 1px solid black;

    font-family: monospace;
    font-size: 20px;
    line-height: 100%;

    width: 30%;
    aspect-ratio: 1/1;
    margin: auto;
}
.navWindowDisplay{
    font-size: 10px;
    font-weight: 300;
    text-align: center;
    width: 100%;
}
#gamePage__header__windowDisplay{
    border-bottom: 1px solid black;
    min-width: 50%;
    width: 0;
}

/*This one will change as the windows do.*/
#gamePage__gameSpace{
    position: relative;
    height: auto;
    width: 100%;
    grid-area: gameSpace;

    overflow: scroll;
}

/*footer*/
#gamePage__footer{
    grid-area: footer;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: center;
    padding-left: 3%;
    padding-right: 3%;
}
#gamePage__footer__statusBars{
    display: flex;
    flex-direction: column;
}
#gamePage__footer__position{
    padding-left: 5%;
    border-left: 1px solid black;
    min-width: 5%;
    width: 0;
}
#gamePage__footer__cellName{
    min-width: 20%;
    width: 0;
    overflow: visible;
    white-space: nowrap;
}
.footerText{
    margin: auto;
    padding: 0;
}

/*output*/
#gamePage__outputBar{
    position: relative;
    grid-area: outputBar;

    margin: 3%;
    border-left: 1px solid black;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding: 5%;

    overflow: scroll;
}
::-webkit-scrollbar{
    width: 1vw;
}
::-webkit-scrollbar-track{
    background: #fff8e0;
}
::-webkit-scrollbar-thumb{
    background: #d6cfb6;
}
.mainOutput{
    font-weight: 500;
    text-align: left;

    margin-top: 1vh;
}
/*Output Options*/
.outputOptionMenu{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.outputOptionMenu > button{
    position: relative;
    background-color: #fff8e0;
    border: 1px solid black;

    min-width: 100%;
    margin-bottom: 1%;

    font-family: monospace;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
}


/*Death screen, but not loss screen.*/
#masquerade__lossScreen{
    height: 100vh;
    width: 100vw;
    
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.masquerade_output{
    text-align: center;
}
#masquerade__lossScreen__output1{
    border-bottom: 1px solid black;
}
/*end screens*/
.gameEndScreen{
    height: 100vh;
    width: 100vw;
    
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.game__over__screen__text{
    text-align: center;
}

/*Exists outside of this grid. Tutorial for help.*/
#main__title__tutorial{
    display: none;
    position: absolute;
    z-index: 100;
    background-color: #fff8e0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 30vw;
    height: 70vh;

    border: 1px solid black;

    overflow: scroll;
}
::-webkit-scrollbar {
    width: 0px;
}
.tutorialText{
    padding-left: 2%;
    text-align: left;
    white-space: pre-wrap;
}